<%--
  Created by IntelliJ IDEA.
  User: computer
  Date: 2021/6/6
  Time: 14:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<h1 align="center" style="color: #1a54e8">修改部门信息</h1>
<table class="update">
<%--    <tr>--%>
<%--        <td>Depid</td>--%>
<%--        <td><input id="depid" type="text" name="depid" value="${dep.depid}"></td>--%>
<%--    </tr>--%>
    <tr>
        <td>部门名</td>
        <td><input id="depname" type="text" name="depname" value="${dep.depname}"></td>
    </tr>
    <tr>
        <td>部门经理</td>
        <td><input id="depmanager" type="text" name="depmanager" value="${dep.depmanager}"></td>
    </tr>
    <tr>
        <td>描述</td>
        <td><textarea id="description" type="text" name="description" cols="50" rows="5">${dep.description}</textarea></td>
    </tr>
    <tr>
        <td><span></span></td>
        <td><span id="updateresult6" style="color:red;"></span></td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center"><button style="color: white;background-color: #1a54e8" onclick="updateDep(${dep.depid})">提交修改</button></td>
    </tr>
</table>
